package com.quartet.modules.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 平台报警信息表(TPlatformAlarmInfo)表实体类
 *
 * @author makejava
 * @since 2021-06-20 18:55:04
 */
@Data
public class TPlatformAlarmInfo extends Model<TPlatformAlarmInfo> {
    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 终端编码
     */
    @ApiModelProperty(value = "终端编码")
    private String terminalCode;
    /**
     * 报警类型
     */
    @ApiModelProperty(value = "报警类型")
    private String alarmType;
    /**
     * 报警等级
     */
    @ApiModelProperty(value = "报警等级")
    private String alarmLevel;
    /**
     * 删除标识 0未删除 1删除
     */
    @ApiModelProperty(value = "删除标识 0未删除 1删除")
    @TableLogic
    private Integer deleted;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

}
